from seller_SP import SellerAoISP
from util import Util
from itertools import combinations, permutations
# 参数
qseller = 5  # 数据源数量
qbuyer = 1  # 买家数量
budget = 120  # 初始预算
T = 20  # 时间段数量

"""sn = []  # 数据源集合
util = Util()
for i in range(qseller):
    seller = SellerAoISP(i, qbuyer, T)
    sn.append(seller)

sg = []
print(util.getAoI(sn, sg, T))"""

w = [0, 1, 2, 3]
print(list(combinations(w, 2)))
